package com.guigu.lqxm.wp.servicewp.impl;

import com.guigu.lqxm.pojo.Test;
import com.guigu.lqxm.wp.mapperwp.TestMapper2;
import com.guigu.lqxm.wp.servicewp.AddSer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddServlet implements AddSer {
    @Autowired(required = false)
    TestMapper2 mapper;

    public int add(Test test){
        return mapper.insert(test);
    }
}
